package com.bestcem.xm.member.service.param;

import com.bestcem.xm.member.entity.pojo.ExtendFieldEnumItemDO;
import com.bestcem.xm.member.service.dto.FieldDTO;
import com.bestcem.xm.member.service.dto.LabelDTO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 联系人导入参数
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/8/19
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class ImportMemberParam {

    private String primaryKey;

    private Boolean nullUpdate;

    private Boolean existedUpdate;

    private Integer attribute;

    private String orgId;

    private String userId;

    private String recordId;

    /**
     * 该账号可以保存的联系人数量
     */
    private Integer saveMemberNum;

    private MultipartFile files;

    private Integer type;

    private String importRecordId;

    /**
     * 已经存在的联系人数量
     */
    private Integer memberNumber;

    /**
     * 扩展字段
     */
    private Map<String, FieldDTO> filedMap;

    /**
     * 标签
     */
    private Map<String, LabelDTO> labelMap;
    /**
     * 获取门店信息
     */
    private Map<String, String> storeNameIdMap;

    private Map<String, List<ExtendFieldEnumItemDO>> extendFieldEnumMap;

    private String key;

    private InputStream inputStream;
}
